#ifndef OBJECT_TREE_ITEM_H
#define OBJECT_TREE_ITEM_H

#include "src/object.h"

#include <QTreeWidgetItem>
#include <QMainWindow>

class ObjectTreeItem : public QTreeWidgetItem {
    public:
        ObjectTreeItem(QTreeWidgetItem * = 0, Object * = 0);
        ~ObjectTreeItem();

        Object *getObject();

        void update();
        void select(bool);

    private:
        Object *obj;
};

#endif

